:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}

/* App布局样式 */
#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.header {
  background: #87CEEB;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
}

.nav {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-link {
  padding: 10px 20px;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
  opacity: 0.8;
}

.nav-link.router-link-active {
  color: #ffffff;
  border-bottom-color: #ffffff;
  font-weight: 600;
}

.body {
  flex: 1;
  padding: 0;
  background: #ffffff;
}

.footer {
  background: #ffffff;
  padding: 20px 0;
  border-top: 1px solid #e0e0e0;
  min-height: 60px;
}

/* 页面容器样式 */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #ffffff;
}

.content {
  background: #ffffff;
  padding: 30px;
}

/* 标题样式 */
.content h1 {
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.content h2 {
  color: #34495e;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.content h3 {
  color: #34495e;
  font-size: 1.4rem;
  margin: 20px 0 10px;
}

/* 图片样式 */
.image-wrapper {
  width: 100%;
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* 描述区域样式 */
.description {
  margin-top: 30px;
}

.description p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
  text-indent: 2em;
}

/* 列表样式 */
.description ul {
  list-style: none;
  padding: 0;
}

.description li {
  color: #555;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.description li::before {
  content: "•";
  color: #42b983;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* 首页城市卡片样式 */
.city-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.city-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.city-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.city-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 20px;
  text-align: center;
}

.card-content h2 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.card-content p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}
